<include file="Index/header" />
<include file="Index/left" />
<!-- 内容区域 -->
<div class="tpl-content-wrapper">
    <div class="row-content am-cf">
        <div class="row">

            <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                <div class="widget am-cf">
                    <div class="widget-head am-cf">
                        <div class="widget-title am-fl">
                            <a class="am-btn am-btn-danger am-round" href="admin.php?c=setting">首页轮播图设置</a>
                            <a class="am-btn am-btn-default am-round" href="admin.php?c=setting&a=setting">网站信息设置</a>
                        </div>
                    </div>
                    <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                        <div class="am-form-group">
                            <div class="am-btn-toolbar">
                                <div class="am-btn-group am-btn-group-xs">
                                    <button type="button" class="am-btn am-btn-default am-btn-success" id="button-add"><span class="am-icon-plus"></span> 新增</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="am-u-sm-12">
                        <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black missj-table">
                            <thead>
                            <tr>
                                <th>ID</th>
                                <th>缩略图</th>
                                <th>链接地址</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            <volist name="imgplay" id="img">
                                <tr class="gradeX">
                                    <td class="am-text-middle">{$img.id}</td>
                                    <td>
                                        <img src="{$img.img}" width="192" height="50" class="tpl-table-line-img" alt="">
                                    </td>
                                    <td class="am-text-middle">{$img.url}</td>
                                    <td class="am-text-middle">
                                        <div class="tpl-table-black-operation">
                                            <a href="javascript:void(0)" id="missj-edit" attr-id="{$img['id']}">
                                                <i class="am-icon-pencil"></i> 编辑
                                            </a>
                                            <a href="javascript:void(0)" id="missj-delete"  attr-id="{$img['id']}" attr-message="删除" class="tpl-table-black-operation-del">
                                                <i class="am-icon-trash"></i> 删除
                                            </a>
                                        </div>
                                    </td>
                                </tr>
                            </volist>
                            <!-- more data -->
                            </tbody>
                        </table>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
</div>
</div>
<script>
    var SCOPE = {
        'edit_url' : 'admin.php?c=setting&a=edit',
        'add_url' : 'admin.php?c=setting&a=add',
        'set_status_url' : 'admin.php?c=setting&a=setStatus',
    };
</script>
<include file="Index/footer" />